#ifndef _PIXEL_PLAYER_PASS_
#define _PIXEL_PLAYER_PASS_

struct Attributes {
    float3 positionOS  : POSITION;
    float2 texcoord    : TEXCOORD0;

};

struct Varyings {
    float4 positionCS  : SV_POSITION;
    float2 uv          : TEXCOORD0;
};


Varyings vert(Attributes IN) {
    Varyings OUT = (Varyings)0;
    VertexPositionInputs vertexInput = GetVertexPositionInputs(IN.positionOS);
    OUT.positionCS = vertexInput.positionCS;
    OUT.uv = TRANSFORM_TEX(IN.texcoord, _BaseMap);
    return OUT;
}

float4 frag(Varyings IN) : SV_TARGET{
    float4 OUT = float4(IN.uv, 1.0, 1.0);
    return OUT;
}



#endif